/**
 * fileName:  AccountEntity.java
 * author:  Lei
 * Company:  Cloudland Studio
 * Createdate:  2014-2-22 下午4:21:03
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2020
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-2-22          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.uphold.store.entity;

 /**
 * <pre> 
 * 账号信息实体化类
 * </pre>
 * @ClassName  AccountEntity
 * @author  Lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class AccountEntity {

	/**
	 * 账号标示符
	 */
	private String id;
	
	/**
	 * 账号名称
	 */
	private String name;
	
	/**
	 * 账号密码
	 */
	private String passwd;
	
	/**
	 * 权限标示符
	 */
	private String authorizeId;

	/**
	 * get id
	 * @return id
	 */
	public String getId() {
		return id;
	}

	/**
	 * set id
	 * @param id the value of id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * get name
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * set name
	 * @param name the value of name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * get passwd
	 * @return passwd
	 */
	public String getPasswd() {
		return passwd;
	}

	/**
	 * set passwd
	 * @param passwd the value of passwd
	 */
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	
	/**
	 * get authorizeId
	 * @return authorizeId
	 */
	public String getAuthorizeId() {
		return authorizeId;
	}

	/**
	 * set authorizeId
	 * @param authorizeId the value of authorizeId
	 */
	public void setAuthorizeId(String authorizeId) {
		this.authorizeId = authorizeId;
	}

	/**
	 * @return
	 */
	@Override
	public String toString() {
		StringBuffer buffer = new StringBuffer("[AccountEntity:{id: ");
		buffer.append(getId()).append(", name: ").append(getName()).append(", password: ").append(getPasswd()).append(", authorizeId:").append(getAuthorizeId()).append("}]");
		return buffer.toString();
	}
	
}
